import request from '@/utils/axios';
import appName from "@/api/appName";

// 清单查询
export function queryList(params) {
    return request({
      url: appName.NB+'/maintain/publicRecord/queryList',
      method: 'post',
      data: params
    })
}
// 清单查询
export function queryListByCode(params) {
    return request({
      url: appName.NB+'/maintain/publicRecord/queryListByCode',
      method: 'post',
      data: params
    })
}
// 保存、修改
export function editData(params) {
    return request({
      url: appName.NB+'/maintain/publicRecord/editData',
      method: 'post',
      data: params
    })
}

// 删除
export function deleteData(params) {
    return request({
      url: appName.NB+'/maintain/publicRecord/deleteData',
      method: 'post',
      data: params
    })
}

//查询srpisno是否存在
export function querySrpisnosFromEufx(params) {
    return request({
      url: appName.NB+'/maintain/publicRecord/querySrpisnosFromEufx',
      method: 'post',
      data: params
    })
}
